package com.wanghua.mall.order.openfeign;

import com.wanghua.mall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author wanghua
 * @create 2021-09-08 13:21
 */
@FeignClient("mall-cart")
public interface CartClient {
    /**
     * 获取当前用户在购物车中选中的购物项
     *
     * @return
     */
    @GetMapping("/getCheckedItemsByUser")
    List<OrderItemVo> getCheckedItemsByUser();
}
